package com.company.project.abstracts;

import java.util.HashMap;
import java.util.Map;

import org.apache.struts2.interceptor.RequestAware;
import org.apache.struts2.interceptor.SessionAware;

import com.opensymphony.xwork2.ActionSupport;

/**
 * StrutsActionSupport <br />
 * 需要实现RequestAware, SessionAware接口
 * @author xdf
 *
 */
public abstract class AbstractAction extends ActionSupport implements RequestAware, SessionAware {
	private static final long serialVersionUID = 4257305874945029655L;
	
	protected Map<String, Object> jsonData = new HashMap<String, Object>();
	protected String cityName;

	public Map<String, Object> getJsonData() {
		return jsonData;
	}

	public void setJsonData(Map<String, Object> jsonData) {
		this.jsonData = jsonData;
	}
	
	public String getCityName() {
		return cityName;
	}

	public void setCityName(String cityName) {
		this.cityName = cityName;
	}
}
